-
Notifications
You must be signed in to change notification settings - Fork 8
body_read_stream implementation - WORK IN PROGRESS #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
body_read_stream implementation - WORK IN PROGRESS #57
Conversation
|
An automated preview of the documentation is available at https://57.http-io.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-10-20 18:03:41 UTC |
|
An automated preview of the documentation is available at https://57.beast2.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-10-22 09:45:21 UTC |
| void(system::error_code, std::size_t)) CompletionToken> | ||
| BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(CompletionToken, | ||
| void(system::error_code, std::size_t)) | ||
| async_read( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this class needs to satisfy Asio's AsyncReadStream type requirements, then the async_read function is unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all overloads of the free function asio::async_read will work perfectly fine with this class if it meets the requirements of AsyncReadStream :
https://www.boost.org/doc/libs/master/doc/html/boost_asio/reference/async_read.html
|
An automated preview of the documentation is available at https://57.beast2.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-11-05 13:25:41 UTC |
| #include <boost/http_proto/parser.hpp> | ||
| #include <boost/system/error_code.hpp> | ||
|
|
||
| #include <iostream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iostream?
| #include <boost/asio/io_context.hpp> | ||
| #include <boost/asio/read.hpp> | ||
| #include <boost/buffers/buffer.hpp> | ||
| #include <boost/buffers/circular_buffer.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this needed?
Implementation for the body_read_stream part of #55